package net.fdukedom.epicurus.webinit;

import java.io.File;

public class AppEnvironment {
    /**
     * Root appplication folder path
     */
    static private File appFolder;

    static public void setAppFolder(String path) {
        appFolder = new File(path);
    }

    static public File getAppFolder() {
        return appFolder;
    }

    static public File getPluginFolder() {
        return new File(appFolder.getAbsolutePath() + File.separator
                + "WEB-INF" + File.separator + "plugin");
    }
}
